import request from '@/utils/request'
let baseURL = '/portal-server/v1/api'

/**
 * 轻资产-外部建设-财务口径页面---区域
 */
export const extConRegionApi = () => {
	return request({
		url: `${baseURL}/lightAsset/extConRegion`,
		method: 'get',
	})
};

/**
 * 轻资产-外部建设-财务口径页面---项目
 */
 export const extConProjectApi = (projectCode) => {
	return request({
		url: `${baseURL}/lightAsset/extConProject?projectCode=${projectCode}`,
		method: 'get',
	})
};

/**
 * 轻资产-外部建设-财务口径页面--明细
 */
 export const extConBudgetListApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/extConBudgetList`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-外部建设-财务口径页面--导出
 */
 export const extConBudgetExportExcelApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/extConBudgetExportExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-外部建设-两算一控页面--明细
 */
 export const benchmarkingTwoCalAndOneConListApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/benchmarkingTwoCalAndOneConList`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-外部建设-两算一控页面--导出
 */
 export const benchmarkingTwoCalAndOneConExportExcelApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/benchmarkingTwoCalAndOneConExportExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-外部运营-两算一控页面--明细
 */
 export const twoCalAndoneControlListApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/twoCalAndoneControlList`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-外部运营-两算一控页面--导出
 */
 export const twoCalAndoneControlExportExcelApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/twoCalAndoneControlExportExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-外部运营-财务口径页面---区域
 */
 export const extOpsRegionApi = () => {
	return request({
		url: `${baseURL}/lightAsset/extOpsRegion`,
		method: 'get',
	})
};

/**
 * 轻资产-外部运营-财务口径页面---项目
 */
 export const extOpsProjectApi = (projectCode) => {
	return request({
		url: `${baseURL}/lightAsset/extOpsProject?projectCode=${projectCode}`,
		method: 'get',
	})
};

/**
 * 轻资产-外部运营-财务口径页面--明细
 */
 export const extOpsBudgetListApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/extOpsBudgetList`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-外部运营-财务口径页面--导出
 */
 export const extOpsBudgetExportExcelApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/extOpsBudgetExportExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-物业管理-财务口径页面---项目
 */
 export const proManageProjectApi = () => {
	return request({
		url: `${baseURL}/lightAsset/proManageProject`,
		method: 'get',
	})
};

/**
 * 轻资产-物业管理-财务口径页面--明细
 */
 export const proManageBudgetListApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/proManageBudgetList`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-物业管理-财务口径页面--导出
 */
 export const proManageBudgetExportExcelApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/proManageBudgetExportExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-物业管理-两算一控页面--明细
 */
 export const twoCalProManageListApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/twoCalProManageList`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-物业管理-两算一控页面--导出
 */
 export const twoCalProManageExportExcelApi = (data) => {
	return request({
		url: `${baseURL}/lightAsset/twoCalProManageExportExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-珠宝美妆-财务口径页面---项目
 */
 export const jewelryAndBeautyProjectListApi = () => {
	return request({
		url: `${baseURL}/jewelryAndBeauty/projectList`,
		method: 'get',
	})
};

/**
 * 轻资产-珠宝美妆-财务口径页面--明细
 */
 export const jewelryAndBeautyListApi = (data) => {
	return request({
		url: `${baseURL}/jewelryAndBeauty/list`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-珠宝美妆-财务口径页面--导出
 */
 export const jewelryAndBeautyPcExportListExcelApi = (data) => {
	return request({
		url: `${baseURL}/jewelryAndBeauty/pcExportListExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-餐饮-两算一控页面--项目下拉选
 */
 export const cateringProjectApi = () => {
	return request({
		url: `${baseURL}/lightAsset/cateringProject`,
		method: 'get',
	})
};

/**
 * 轻资产-物业企服-财务口径页面---项目
 */
 export const propertyEsProjectListApi = () => {
	return request({
		url: `${baseURL}/propertyEs/projectList`,
		method: 'get',
	})
};

/**
 * 轻资产-物业企服-财务口径页面--明细
 */
 export const queryPropertyEsDetailsApi = (data) => {
	return request({
		url: `${baseURL}/propertyEs/queryPropertyEsDetails`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-物业企服-财务口径页面--导出
 */
 export const pcExportDetailExcelApi = (data) => {
	return request({
		url: `${baseURL}/propertyEs/pcExportDetailExcel`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};

/**
 * 轻资产-物业企服-两算一控页面--卡片
 */
 export const queryPropertyEsTwoCalCardApi = (data) => {
	return request({
		url: `${baseURL}/propertyEs/queryPropertyEsTwoCalCard`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-物业企服-两算一控页面--明细
 */
 export const queryPropertyEsTwoCalApi = (data) => {
	return request({
		url: `${baseURL}/propertyEs/queryPropertyEsTwoCal`,
		method: 'post',
		data: data
	})
};

/**
 * 轻资产-物业企服-两算一控页面--导出
 */
 export const pcExportDetailExcelForTwoCalApi = (data) => {
	return request({
		url: `${baseURL}/propertyEs/pcExportDetailExcelForTwoCal`,
		method: 'post',
		data: data,
		responseType: 'blob',
	})
};